version: '3.1'
services:
  flask:
    image: flask
    build: ./backend
    container_name: backend-flask
    environment:
          # - FLASK_ENV=development
          - PYTHONUNBUFFERED=True                   
    restart: on-failure
    volumes:
      - ./backend:/backend
    ports:
      - "5000:5000"
    command: python main.py